package com.wx.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName BaseUtil
 * @Author Administrator
 * @Date 2018/12/31 11:26
 * @Version 1.0
 * @Description 基础工具类
 **/
public class BaseUtil {
    private static BaseUtil baseUtil=null;
    private BaseUtil(){}
    public static BaseUtil getBaseUtil(){
        if (baseUtil == null){
            baseUtil=new BaseUtil();
        }
        return baseUtil;
    }
    public String getIntegerTime(){
        /**
         *@MethodName getIntegerTime
         *@Data 2018/12/31 11:32
         *@Author wuxuan
         *@Description 获取当前的整形的时间
         **/
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyyMMddHHmmss");
        return simpleDateFormat.format(new Date());
    }
}
